package com.sina.gfund;

/**
 * Created by IntelliJ IDEA.
 * User: qtang
 * Date: Jul 5, 2013
 * Time: 9:36:28 AM
 * To change this template use File | Settings | File Templates.
 */
public class GFundBeanResult {
    private double fundAPrice;
    private double fundBPrice;
    private double fundABPrice;
    private double fundMValueLastDay;
    private double fundMIndexRise;
    private double fundMValueEstimate;
    private double discount;

    public double getFundAPrice() {
        return fundAPrice;
    }

    public void setFundAPrice(double fundAPrice) {
        this.fundAPrice = fundAPrice;
    }

    public double getFundBPrice() {
        return fundBPrice;
    }

    public void setFundBPrice(double fundBPrice) {
        this.fundBPrice = fundBPrice;
    }

    public double getFundABPrice() {
        return fundABPrice;
    }

    public void setFundABPrice(double fundABPrice) {
        this.fundABPrice = fundABPrice;
    }

    public double getFundMValueLastDay() {
        return fundMValueLastDay;
    }

    public void setFundMValueLastDay(double fundMValueLastDay) {
        this.fundMValueLastDay = fundMValueLastDay;
    }

    public double getFundMIndexRise() {
        return fundMIndexRise;
    }

    public void setFundMIndexRise(double fundMIndexRise) {
        this.fundMIndexRise = fundMIndexRise;
    }

    public double getFundMValueEstimate() {
        return fundMValueEstimate;
    }

    public void setFundMValueEstimate(double fundMValueEstimate) {
        this.fundMValueEstimate = fundMValueEstimate;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public GFundBeanResult(double fundAPrice, double fundBPrice, double fundABPrice, double fundMValueLastDay, double fundMIndexRise, double fundMValueEstimate, double discount) {
        this.fundAPrice = fundAPrice;
        this.fundBPrice = fundBPrice;
        this.fundABPrice = fundABPrice;
        this.fundMValueLastDay = fundMValueLastDay;
        this.fundMIndexRise = fundMIndexRise;
        this.fundMValueEstimate = fundMValueEstimate;
        this.discount = discount;
    }

    @Override
    public String toString() {
        return "GFundBeanResult{" +
                "fundAPrice=" + fundAPrice +
                ", fundBPrice=" + fundBPrice +
                ", fundABPrice=" + fundABPrice +
                ", fundMValueLastDay=" + fundMValueLastDay +
                ", fundMIndexRise=" + fundMIndexRise +
                ", fundMValueEstimate=" + fundMValueEstimate +
                ", discount=" + discount +
                '}';
    }
}
